package com.rzjm.api.dao;

import com.rzjm.api.entity.FireWork;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 设备的定位信息
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Mapper
public interface FireWorkDao extends BaseDao<FireWork> {

    FireWork getFireWorkByState(@Param("deviceId") Integer deviceId,@Param("state") Integer state);

    List<FireWork> getFireWorkListBySysUserId(@Param("map") Map<String,Object> map,
                                              @Param("offset") Integer offset,
                                              @Param("pageSize") Integer pageSize);
}
